<div class='head'>
  <div class='title'>
    »  基本资料
  </div>
  <div class='tools'>
    <%= link_to_remote "✎编辑", 
          :update => 'base_info',
          :url => edit_base_info_user_url(current_user),
          :method => :get,
          :html => {
            :class => :h
          } %>
  </div>
</div>
<div>
  <table width="700" cellspacing="4" cellpadding="3" border="0">
    <tbody>
      <tr>
        <td class="t px12">昵称</td>
        <td class="px12"><b><%= current_user.nick_name %></b></td>              
      </tr>
      <tr>
        <td class="t px12">性别</td>
        <td class="px12"><b><%= t current_user.sex %></b></td>              
      </tr>
      <tr>
        <td class="t px12">注册邮箱</td>
        <td class="px12"><b><%= current_user.email %></b></td>              
      </tr>
      <tr>
        <td colspan='2'>
          <dl id="sex_feeds">
            <dt>最近都有谁设置了性别：</dt>
            <% Feed::MoneySex.all(:order => 'created_at desc', :limit => 20).each_with_index do |feed, index| %>
            <dd class='feed' style='<%= index == 0 ? '' : 'display:none' %>'><%= feed_to_html feed %></dd>
            <% end %>
          </dl>
          <script type="text/javascript" charset="utf-8">
            setInterval("next_feed('sex_feeds')",5000);
          </script>
        </td>
      </tr>               
    </tbody>          
  </table>
</div>